ElasticPress\Feature\WooCommerce\WooCommerce A

Total Complexity 62
Dependencies 6
Dependents 3
Total lines 668
Lines of code 260
Logical lines of code 129
Comment lines 331
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
should_integrate_with_query()
A
49 13 29
disallow_coupons()
S
65 4 9
output_feature_box_settings()
S
51 2 28
setup()
S
61 3 12
set_settings_schema()
S
52 2 25
setup_or_tear_down()
S
66 3 8
__construct()
S
57 1 16
is_orders_autosuggest_enabled()
S
78 2 3
requirements_status()
S
66 2 8
get_search_term()
S
74 2 4
tear_down()
S
67 2 8
add_weight_settings_search()
S
75 1 4
action_sync_on_woocommerce_sort_single()
S
75 1 4
add_product_attributes()
S
75 1 4
maybe_display_notice_about_product_ordering()
S
75 1 4
translate_args_admin_products_list()
S
75 1 4
admin_product_list_request_query()
S
75 1 4
add_variations_skus_meta()
S
75 1 4
keep_order_fields()
S
75 1 4
price_filter()
S
74 1 4
suggest_wc_add_post_type()
S
75 1 4
add_product_default_post_type_weights()
S
75 1 4
add_product_attributes_to_weighting()
S
75 1 4
get_admin_searchable_post_types()
S
75 1 4
add_order_items_search()
S
75 1 4
search_order()
S
75 1 4
maybe_hook_woocommerce_search_fields()
S
75 1 4
bypass_order_permissions_check()
S
75 1 4
blacklist_coupons()
S
75 1 4
whitelist_taxonomies()
S
75 1 4
whitelist_meta_keys()
S
66 1 9
remove_author()
S
75 1 4
get_orderby_meta_mapping()
S
75 1 4
translate_args()
S
73 1 5
is_orders_autosuggest_available()
S
78 1 3
output_feature_box_long()
S
75 1 5
maybe_disable_decaying()
S
74 1 4